package com.wcx.create.factory.demo2.abs.factory;

import com.wcx.create.factory.demo2.abs.factory.RouJiaMoYLFactory;
import com.wcx.create.factory.demo2.abs.model.FreshMeat;
import com.wcx.create.factory.demo2.abs.model.Meat;
import com.wcx.create.factory.demo2.abs.model.XianTeSeYuanliao;
import com.wcx.create.factory.demo2.abs.model.YuanLiao;

/**
 * 项目: design-pattern-githupdemo
 * <p>
 * 功能描述:
 *
 * @author: WuChengXing
 * @create: 2021-01-08 16:21
 **/
public class XianRouJiaMoYLFactroy implements RouJiaMoYLFactory {

    @Override
    public Meat createMeat() {
        return new FreshMeat();
    }

    @Override
    public YuanLiao createYuanliao() {
        return new XianTeSeYuanliao();
    }
}
